﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Norm;
using Common;

namespace Model
{
    /// <summary>
    /// 地点信息
    /// </summary>
    public class Location : Document
    {
        /// <summary>
        /// 地点所属县区、城区ID
        /// </summary>
        public ObjectId DistrictId { get; set; }

        /// <summary>
        /// 地点名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 地点的拼音首字母
        /// </summary>
        public string FirstLetter { get; set; }

        /// <summary>
        /// 地点类型
        /// </summary>
        public LocationType Type { get; set; }

        /// <summary>
        /// 周边地点ID集合
        /// </summary>
        public ObjectId[] NearLocations { get; set; }
    }
}
